import request from '@/utils/request'
import request1 from '@/utils/request1'

// 查询会员列表
export function getSearchList(query) {
  return request({
    url: '/com.mmk.member.api.AdminUserProvider/1.0.0/getList.html',
    method: 'post',
    data: query
  })
}

// 查询会员列表
export function updateStatus(query) {
    return request({
      url: '/com.mmk.member.api.AdminUserProvider/1.0.0/updateStatus.html',
      method: 'post',
      data: query
    })
  }

//plus会员列表
export function plusUserList(query) {
  return request1({
    url:'admin/retail/users/vipuserlist',
    method: 'post',
    data: query
    // method: 'get',
    // params: query
  })
}

//plus会员 -修改上级 -校验
export function chechUpdateUserRef(query) {
  return request1({
    url:'admin/retail/users/chechUpdateUserRef',
    method: 'post',
    data: query
    // method: 'get',
    // params: query
  })
}
//plus会员 -修改上级
export function updateUserRef(query) {
  return request1({
    url:'admin/retail/users/updateUserRef',
    method: 'post',
    data: query
    // method: 'get',
    // params: query
  })
}
